package com.dragonwu.model.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户信息表
 *
 * @author DragonWu
 * @since 2022-10-06
 */
@Data
@TableName("sys_user")
public class SysUser implements Serializable {
    @TableId(value = "user_id")
    private Long userId;

    private String userName;

    //对该字段不进行序列化
    @JSONField(serialize = false)
    private String password;
}
